package com.github.icloudpay.pay.core.inter;

import com.github.icloudpay.pay.core.entity.PayChannelConfig;

/**
 * 签名服务
 * @author zhangjun
 *
 * 2015-7-29
 */
public interface SignatureService {
    /**
     * 签名
     * @param toBeSign
     * @param payChannelNo
     * @return
     */
    public String sign(String toBeSign , PayChannelConfig channelConfig);
    
    
    public boolean verify(String toBeSign, String sign, PayChannelConfig channelConfig);
    
}
